<?php if (!defined('THINK_PATH')) exit();?><h3>添加商品</h3>
<ul>
	<?php if(is_array($menuList)): $i = 0; $__LIST__ = $menuList;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$menu): $mod = ($i % 2 );++$i; if($menu['is_parent'] == 1): ?><li>
				<div class="parentIcoWrap">
					<a href="javascript:;" class="J_switchs parentTitle"><span class="parentIco iconFont"></span><?php echo ($menu["name"]); ?></a>
				</div>
				<ul>
					<?php if(is_array($menu['sub'])): $i = 0; $__LIST__ = $menu['sub'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$val): $mod = ($i % 2 );++$i;?><li><a href="javascript:;" data-uri="<?php echo U($val['module_name'].'/'.$val['action_name'], array('menuid'=>$val['id'])); echo ($val["data"]); ?>" data-id="<?php echo ($val["id"]); ?>" hidefocus="true"><?php echo ($val["name"]); ?></a></li><?php endforeach; endif; else: echo "" ;endif; ?>
				</ul>
			</li>
		<?php else: ?>
			<li>
				<a href="javascript:;" data-uri="<?php echo U($menu['module_name'].'/'.$menu['action_name'], array('menuid'=>$menu['id'])); echo ($menu["data"]); ?>" data-id="<?php echo ($menu["id"]); ?>" hidefocus="true"><?php echo ($menu["name"]); ?></a>
			</li><?php endif; endforeach; endif; else: echo "" ;endif; ?>
	<?php echo ($name); ?>
</ul>